package com.hfh.Thread;

public class SecondThread implements Runnable{
    public static void main(String[] args) {
        SecondThread st = new SecondThread();
        Thread thread = new Thread(st);
        thread.start();
    }
    @Override
    public void run() {
        System.out.println("创建线程方式二");
    }
}
